#include <vector>
#include <list>

using namespace std;


class SepHash{

public:
	explicit SepHash(int size = 7) :tablesize(size),currsize(0), m_septable(size){


	}

	void insert(int x);


	bool remove(int x);

	void desc();


private:

	int tablesize;
	int currsize;
	
	
	inline int myhash(int x)
	{
		return x % tablesize;
	}

	void rehash();

	vector<list<int>> m_septable;

};